package top.biangege.bbs.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("user")
public class User implements Serializable {
    @TableId
    private Integer userId;

    private String userName;

    private String userNickname;

    private String userPassword;

    private Integer userGroup;

    private Date createTime;

    private Date updateTime;
}
